<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>大匠员工定位系统</title>
    <link rel="stylesheet" href="css/base.css" type="text/css" />
    <link rel="stylesheet" href="css/style.css" type="text/css" />
</head>

<body>
<div class="c-main pb20">
	<div class="index-top">
        欢迎登录大匠员工定位系统
        <div class="index-login">
            <div>
                <img src="images/logo.png" />
            </div>
            <a href="javascript:;">解除<br />绑定</a>
        </div>   
    </div>
    <div class="index-box">
        <div class="index-search">
            <input type="search" class="search-text" placeholder="请输入" />
            <a href="javascript:;" class="search-btn"></a>
        </div>
        <div class="search-result">
            <ul>
                <li>
                    <div class="sr-info">无数据</div>
                </li>
                <li>
                    <div class="sr-info">甘蔗联盛工程公司</div>
                    <a href="javascript:;" class="sr-btn">定位</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="copyright">
    <div><img src="images/logo.png" /> 全国统一热线：<a href="tel:4000555400">400-0555-400</a></div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/base.js"></script>
<script type="text/javascript">
$(function(){
	//获取验证码
    $('.getcode').on('click',function(){
        var disable = $(this).hasClass('disabled');
        if(!disable){
            $(this).addClass('disabled');
            settime();
        }
    });
});

var countdown=60; 
function settime() { 
    if (countdown == 0) { 
        $('.getcode').html('重新获取').removeClass('disabled'); 
        countdown = 60;
        return;
    } else {
        $('.getcode').html(countdown + 's后重试'); 
        countdown--; 
    } 
    setTimeout(function() { 
        settime();
    },1000) 
}
</script>
</body>
</html>